_Show Reminders List
(
47
actions, 42 KB)
0 Get Dates from
[Shortcut Input]
»
1
2
4
5
6
19
1 If
[0 Dates
{"Date Style":"Relative","WFISO8601IncludeTime":false,"Time Style":"None","Relative Style":"Short"}
]
has any value
ConditionalActionString
:
2 Run Shortcut
Get Undone Actions Items
»
Input
:
[0 Dates]
Workflow
:
{ "workflowIdentifier": "893E7F57-FB09-48D9-AB3E-96896DD6E6BD", "workflowName": "Get Undone Actions Items", "isSelf": false }
3 Set Variable
reminders
to
[2 Shortcut Result]
4 Format Date
[0 Dates]
»
10
DateFormatStyle
:
Relative
TimeFormatStyle
:
None
RelativeDateFormatStyle
:
Short
5 Format Date
[0 Dates]
»
7
DateFormatStyle
:
Custom
TimeFormatStyle
:
None
DateFormat
:
E
RelativeDateFormatStyle
:
Short
6 Format Date
[0 Dates]
»
DateFormatStyle
:
Custom
TimeFormatStyle
:
None
DateFormat
:
MMM d
RelativeDateFormatStyle
:
Short
7 Text-Case > TextCaseIntent »
10
text
:
[5 Formatted Date]
,
[6 Formatted Date]
format
:
smallCaps
ShowWhenRun
:
false
8 DataJar > GetValueIntent »
10
keyPath
:
Text Divider
9 Count Items in
[reminders]
»
10 Text
📅
[4 Formatted Date]
(
[7 Formatted Text]
)
[8 Value]
👉
[9 Count]
個待辦事項
[8 Value]
11 Otherwise ▵
1
12 Find Reminders »
ContentItemSortProperty
:
Title
ContentItemSortOrder
:
A to Z
ContentItemFilter
:
• All the following are true List is
[Shortcut Input]
Is Completed
13 Set Variable
reminders
to
[12 Reminders]
14 Text
👇
[Shortcut Input]
👇
15 End If »
32
41
16 If
[reminders]
has any value
17 Repeat with Each in
[reminders]
18 Actions > TruncateTextIntent »
23
25
maximumLength
:
28
text
:
[Repeat Item]
19 If
[0 Dates]
has any value
20 Dictionary
➔ mappingDict
»
22
{ "High": "!!!", "Medium": "!!", "Low": "!", "None": "!?" }
21 Get
Priority
of Reminders
[Repeat Item]
»
22 Get Dictionary Value for
[21 Priority]
in
[20 mappingDict]
»
23 Text
[22 Dictionary Value]
[18 Truncated Text]
24 Otherwise
25 Get Text from
[18 Truncated Text]
26 End If »
27 Set Dictionary Value for
[26 If Result]
to
[Repeat Item]
in
[dict]
»
28 Set Variable
dict
to
[27 Dictionary]
29 End Repeat with Each ▵
17
30 Filter Files
[dict
’s Keys
]
»
32
41
ContentItemSortProperty
:
Name
ContentItemSortOrder
:
Z to A
31 If
[DeviceDetails
’s OS
]
is
iOS
32 Choose from List
[30 Files]
»
ChooseFromListActionPrompt
:
[15 If Result]
ChooseFromListActionSelectMultiple
:
true
ChooseFromListActionSelectAll
:
false
33 Repeat with Each in
[32 Chosen Item
’s Name
]
34 Get Dictionary Value for
[Repeat Item]
in
[dict]
»
35 Find Reminders »
36
37
ContentItemLimitEnabled
:
true
ContentItemLimitNumber
:
1
ContentItemFilter
:
Name is
[34 Dictionary Value]
36
Set
Is Completed
of Reminder
[35 Reminders]
ReminderContentItemIsCompleted
:
1
37 Run Shortcut
Feedback for Brain Dumping
Input
:
[35 Reminders]
Workflow
:
{ "workflowIdentifier": "A431180D-71BB-4AD8-8F8D-073B568D7CCC", "workflowName": "Feedback for Brain Dumping", "isSelf": false }
38 End Repeat with Each
39 End If ▵
31
40 If
[DeviceDetails
’s OS
]
is
macOS
41 Text »
[15 If Result]
[30 Files]
42 ToolboxProForShortcuts > CreateTextImageIntent »
lineBreak
:
TruncateTail
font
:
SFPro-Regular
lineLimit
:
false
backgroundColour
:
000000
textColour
:
ffffff
width
:
1080
alignment
:
left
paddingBottom
:
15
autoSize
:
true
height
:
text
:
[41 Text]
fontSize
:
20
paddingRight
:
15
paddingLeft
:
15
paddingTop
:
15
transparentBG
:
false
43 Run Shortcut
_Display Full Image
Input
:
[42 Text Image]
Workflow
:
{ "workflowIdentifier": "C3C23719-499A-4C34-83FA-FC3EABDEE931", "workflowName": "_Display Full Image", "isSelf": false }
44 End If
45 End If ▵
16
46 Stop This Shortcut